#pragma once
#include <core/sync/lock.h>
#include <qbmessage/include/message_bond.h>
#include <qbprotocol/include/SSFIModel.h>
#include <qbprotocol/include/SSMsgStruct.h>
#include <QString>
#include <QVector>

class MessageReceiver;
class FICNEXData{
public:
    struct tCNEXData{
        float AllMarket, BigBank, SmallBank, NotBank;
        QString time;
    };
    FICNEXData() = default;
	void reqData(MessageReceiver* msgRecv);
	bool onReceive(int32_t funcId, const qb::SSAckMsg& msg);
    QVector<tCNEXData> getData() const;
private:
    mutable qb::base::Mutex m_lock;
    QVector<tCNEXData> m_datas;
};

